<?php


namespace Drupal\store\ViewsController\handler\field;


use Drupal\store\ViewsController\Traits\StoreShowStatusOptions;
use views_handler_field;

class StoreShowStatusViewsField extends views_handler_field {

  use StoreShowStatusOptions;

  public function render($values) {
    $value = $this->get_value($values);
    $options = $this->getOptions();
    return isset($options[$value]) ? $options[$value] : '';
  }
}
